<?php 
/*
 module:		资源提交控制器
 create_time:	2023-08-21 22:00:15
 author:		
 contact:		
*/

namespace app\admin\validate;
use think\validate;

class InfoSubmit extends validate {


	protected $rule = [
		'name'=>['require'],
		'mobile'=>['require'],
		'title'=>['require'],
	];

	protected $message = [
		'name.require'=>'联系人不能为空',
		'mobile.require'=>'手机号码不能为空',
		'title.require'=>'标题不能为空',
	];

	protected $scene  = [
		'add'=>['name','mobile','title'],
		'update'=>['name','mobile','title'],
	];



}

